import QtQuick

Rectangle {
    width: 50
    height: 50
    color: Qt.rgba(Math.random(), Math.random(), Math.random(), 1)

    MouseArea {
        anchors.fill: parent
        onClicked: parent.destroy()
    }
} 